<?php

namespace app\admin\model;

use app\common\model\TimeModel;

class MallUser extends TimeModel
{
    
    protected $name = "mall_user";
    
    protected $deleteTime = "delete_time";
    
    
    public function promotion()
    {
        return $this->hasOne('app\admin\model\MallPromotion', 'user_id', 'promotion_id');
    }
    
    public function getStatusList()
    {
        return ['0' => '禁用', '1' => '启用',];
    }
    
    
}